<%@ page import="java.util.List" %>
<%@ page import="java.util.Arrays" %><%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2020/9/2
  Time: 9:28
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
  <head>
    <title>$Title$</title>
  </head>
  <body>

  <%
    List list = Arrays.asList("s","gg","sd");
    request.setAttribute("string",list);
  %>
  <ul>
    <c:forEach items="${string}" var="string">
      <li>${string}</li>

    </c:forEach>
  </ul>


  </body>
</html>
